//轮播 点击数字按钮跳到相应的图片
var itemli = document.getElementsByClassName("broadCastBtn");
var bdCastli = document.getElementsByClassName("bdCast");
for(i=0;i<itemli.length;i++){
	itemli[i].index = i;
}
for(j=0;j<bdCastli.length;j++){
	bdCastli[j].index = j;
}
 $(".broadCastBtn").click(function(){	
$(this).addClass('activeImg').siblings().removeClass('activeImg');
//console.log(this.index);
//console.log(bdCastli.index=this.index);
$(bdCastli[this.index]).addClass('broadCastActive').siblings().removeClass('broadCastActive');
})
